subdir('graminelibos')

install_data([
    'gramine-gen-depend',
    'gramine-manifest',
], install_dir: get_option('bindir'))

if enable_tests
    install_data([
        'gramine-test',
    ], install_dir: get_option('bindir'))
endif

if sgx
    install_data([
        'gramine-sgx-gen-private-key',
        'gramine-sgx-get-token',
        'gramine-sgx-sign',
    ], install_dir: get_option('bindir'))
endif
